package com.uduemc.biso.core.feign.fallback;

import org.springframework.stereotype.Component;

import com.uduemc.biso.core.feign.SysSystemTypeFeign;
import com.uduemc.biso.core.utils.RestResult;

import feign.hystrix.FallbackFactory;

@Component
public class SysSystemTypeFeignFallback implements FallbackFactory<SysSystemTypeFeign> {

	@Override
	public SysSystemTypeFeign create(Throwable cause) {
		return new SysSystemTypeFeign() {
			@Override
			public RestResult findAll() {
				return null;
			}
		};
	}

}
